/**
 * 
 */
package ar.com.drconta.ganancias.editors.example.modelVO;

import java.util.ArrayList;
import java.util.List;


/**
 * 
 * Folder.
 * @author E420611
 *
 */
public class PersonFolder {
	
	private String name;
	private String surname;
	
	List<Category> categories = new ArrayList<Category>();
	
	/**
	 * Constructor.
	 * @param name
	 */
	public PersonFolder(String name) {
		this.setName(name);
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the surname
	 */
	public String getSurname() {
		return surname;
	}
	/**
	 * @param surname the surname to set
	 */
	public void setSurname(String surname) {
		this.surname = surname;
	}
	/**
	 * @return the categories
	 */
	public List<Category> getCategories() {
		return categories;
	}
	/**
	 * @param categories the categories to set
	 */
	public void setCategories(List<Category> categories) {
		this.categories = categories;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return name;
	}

}
